Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODContainer


GetID

The GetID method returns the container ID of this container object.

ODContainerID GetID ();
return value
A container ID whose buffer contains data identifying this container object.
DISCUSSION
Although parts can call this method, they usually do not need to know the IDs of their associated containers.

The structure of the data identifying this container depends on the type of container, which was specified when the container was created. For example, the identifier for a Bento file container specifies a file-system file; the identifier for a Bento memory container is a handle for a relocatable memory block.

SEE ALSO
The ODContainerID type (page 900).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help